layui.use('jquery',function(){
	var $ = layui.jquery;
	enianAdmin.listen('go', function(obj) {
			var url = enianAdmin.url(obj.url);
			var param = url.params;
			var newUrl ='?PAGE_TYPE=2';
			for (var k in param) {
				newUrl+='&'+k+'='+param[k];
			}
			// console.log(url.path+newUrl)
			location.href=url.path+newUrl;
	})

	init();

	// 初始化函数
	function init(){
		evar = enianAdmin.evar={}; // 储存全局变量的对象，调用方式：varible.name

		// 表格高度
		evar.tableHeight = 'full-90'; 
	}
})
